<script type="text/javascript" src="../Script/GestionUsuario.js"></script>
<style type="text/css">
    <!--
    .B {
        color: #f0f0f0;
    }
    .style1 {color: #000000}
    -->
</style>

<div id="content" align="center">
    <form id="form1" name="form1" method="post" action="InsertarUsuario.php" onSubmit="return validaAgregarUsuario(this)">
        <table width="383" border="0">
            <tr>
                <td width="131">Cedula</td>
                <td width="242" valign="middle"><label>
                        <input type="text" name="USR_CEDULA" maxlength="8" id="USR_CEDULA" onKeyPress="return acceptNum(event, window.Event, 0)"/>
                        (*)</label></td>
            </tr>
            <tr>
                <td>Nombre</td>
                <td valign="middle"><label>
                        <input type="text" name="USR_NOMBRE" id="USR_NOMBRE" maxlength="45" onKeyPress="return acceptChar(event, window.Event, 0)"/>
                        (*)</label></td>
            </tr>
            <tr>
                <td>Apellido</td>
                <td valign="middle"><label>
                        <input type="text" name="USR_APELLIDO" id="USR_APELLIDO" maxlength="45" onKeyPress="return acceptChar(event, window.Event, 0)"/>
                        (*)</label></td>
            </tr>
            <tr>
                <td>Direccion</td>
                <td valign="middle" bgcolor="#FCFCFC"><label>
                        <textarea name="USR_DIRECCION" cols="24" rows="5" id="USR_DIRECCION" type="text" ></textarea>
                        <span class="style1">(*)</span></label></td>
            </tr>
            <tr>
                <td>Telefono</td>
                <td valign="middle"><label>
                        <input type="text" name="USR_TELEFONO" id="USR_TELEFONO" maxlength="13" onKeyPress="return acceptNum(event, window.Event, 0)"/>
                        <span class="style1">(*)</span></label></td>
            </tr>
            <tr>
                <td>Telefono (otro)</td>
                <td valign="middle"><label>
                        <input type="text" name="USR_TELEFONO_OTRO" id="USR_TELEFONO_OTRO" maxlength="13" onKeyPress="return acceptNum(event, window.Event, 0)"/>
                        <span class="B">(*)</span></label></td>
            </tr>
            <tr>
                <td>Email</td>
                <td valign="middle"><label>
                        <input type="text" name="USR_EMAIL" id="USR_EMAIL" maxlength="100"/>
                        <span class="B">(*)</span></label></td>
            </tr>
            <tr>
                <td>Clave</td>
                <td valign="middle"><label>
                        <input type="password" name="USR_CLAVE" id="USR_CLAVE" />
                        (*)</label></td>
            </tr>
            <tr>
                <td>Confirmar Clave</td>
                <td><label>
                        <input type="password" name="USR_CONFIRMAR_CLAVE" id="USR_CONFIRMAR_CLAVE" />
                        (*)</label></td>
            </tr>
            <tr>
                <td>Roles</td>
                <td><select name="USR_PRIVILEGIO" id="USR_PRIVILEGIO">
                        <option value="USER" selected="selected">Usuario</option>
                        <option value="ADMIN">Administrador</option>
                    </select></td>
            </tr>
            <tr>
                <td>&nbsp;</td>
                <td><input type="submit" name="Submit" id="Submit" class="bold" style="border:1px solid #cccccc" value="Finalizar" /></td>
            </tr>
            <tr>
                <td colspan="2" align="center"><label>Los campos con (*) son obligatorios.
                    </label></td>
            </tr>
        </table>
    </form>
</div>